using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WaterQualityReportSystem
{
    public partial class DeviceSelectionDialog : Form
    {
        public string SelectedDeviceType { get; set; }

        public DeviceSelectionDialog()
        {
            InitializeComponent();
        }

        private void btOriginalDevice_Click(object sender, EventArgs e)
        {
            SelectedDeviceType = "original";
            this.DialogResult = DialogResult.OK;
        }

        private void btHardnessDetector_Click(object sender, EventArgs e)
        {
            SelectedDeviceType = "hardness";
            this.DialogResult = DialogResult.OK;
        }

        private void btCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }
    }
}